home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
clang
/
mrcry204.zip
/
SERIES.EKA
< prev
next >
Wrap
Text File
|
1991-03-04
|
251b
|
9 lines
; Demo of infinite series.
; Approximate sum using a large finite number of terms.
approx_sum = SUM(1/(n*n),n,1,8000)
; Mercury has special logic for an infinite sum, so just do it.
infinite_sum = SUM(1/(n*n),n,1,INF)
true_limit = PI^2 / 6